<?php
namespace Common\Model;
use Common\Common\Object;

/**
 * Class CustomerObject
 * @package Common\Model
 *
 * @property GoodsObject $Goods
 *
 */
class CollectObject extends Object{

    protected function _getGoods(){
        /** @var GoodsModel $goods */
        $goods = D('Goods');
        return $goods->fetch($this->data['goods']);
    }

}